export interface ILoginParams {
    username:string,
    password:string,
}
// 部门模块的interface
export interface IDeptSearchParmise {
    deptName:string,
}
export interface IDept {
    _id:string,
    createTime:string,
    updateTime:string,
    deptName:string,
    parentId?:number,
    userName:string,
    children:IDept[],
}

export interface IUser {
    _id:string,
    userId:number,
    userName:string,
    userEmail:string,
    deptId:string,
    state:number,
    mobile:string,
    job:string,
    role:number,
    roleList:string,
    deptName:string,
    userImg:string,
    createid:number,
}
